From: OpenJDK Team Date: Wed, 22 Jul 2026 00:23:02 +0000 (+1200) Subject: icc_loading_with_symlink X-Git-Tag: archive/raspbian/25.0.5_7ea-1+rpi1~3^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1a8b0173bae5a175e6caea02842f8c028905c28c;p=openjdk-25.git icc_loading_with_symlink Gbp-Pq: Name icc_loading_with_symlink.diff --- diff --git a/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java b/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java index 29f6b1e91..bb1e718d0 100644 --- a/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java +++ b/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java @@ -1395,9 +1395,6 @@ public sealed class ICC_Profile implements Serializable dir = st.nextToken(); fullPath = dir + File.separatorChar + fileName; f = new File(fullPath); - if (!isChildOf(f, dir)) { - f = null; - } } }